﻿using GameServer.ShootingGame.WeaponsClasses;
using GameServer.ShootingGame.WeaponsClasses.LaunchProfiles;
using GameServer.ShootingGame.RenderableClasses;
using GameServer.ShootingGame;

namespace GameServer.ShotInTheDark.Weapons
{
    public class MachineGunWeapon : Weapon
    {
        public MachineGunWeapon()
        {
            WeaponInfo_Primary = new WeaponInfo(LaunchProfiles.LINEAR_TRAJECTORY, 1.5, 10, 10, 5, 150, int.MaxValue, 1, 0.8, 1, 0.045, 0.1, 0, 0, 0, 0);
            WeaponInfo_Primary.ordinanceSample = new MachineGunOrdinance() { weaponInfo = WeaponInfo_Primary };
            type = 2;
        }

        public static PickupObject GetPickupObject(GamePlayManager gamePlay)
        {
            PickupObject pO = new PickupObject() { GamePlayManager = gamePlay, pickupItem = new MachineGunWeapon() };
            pO.StartUpdate();
            return pO;
        }
    }
}
